AuthRecord

@Serializable
open class AuthRecord(val email: String, val emailVisibility: Boolean, val verified: Boolean, authRecordId: String? = null) : Record

An easy wrapper for the Pocketbase auth collection record. If you want to work with custom fields use your own object which extends this one.

Parameters

verified

whether the user is verified.

email

the user's email.

emailVisibility

whether the user's email is visible to other users when they query the user's collection.

authRecordId

An optional parameter used if you want to set the record's id explicitly when creating.

Constructors

Link copied to clipboard
constructor(email: String, emailVisibility: Boolean, verified: Boolean, authRecordId: String? = null)

Properties

Link copied to clipboard
val collectionId: String? = null
Link copied to clipboard
val collectionName: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val id: String? = null
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String